<!DOCTYPE html>
<html lang="zh-CN">
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
	<title>禾水|前端学习 分享</title>
	<meta name="keywords" content="Busi BUSI 前端 前端学习">
    <meta name="description" content="前端学习,交流">
	<link rel="stylesheet" href="/stylesheets/bootstrap.min.css">
	<link rel="stylesheet" href="/stylesheets/index.css">
	<link href='https://cdn.webfont.youziku.com/webfonts/nomal/107450/45803/59a915bef629d808084fd878.css' rel='stylesheet'>
</head>
<body>
	<nav class="navbar navbar-default navbar-fixed-top my-nav">
		<div class="container">
			<!--nav bar-->
				<div class="navbar-header">
					<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
						<!--icon style:3 hidden-->
						<span class="icon-bar"></span>
						<span class="icon-bar"></span>
						<span class="icon-bar"></span>
					</button>
					<a class="cssce1a639461a3ba navbar-brand" href="#">禾水<small>-陈伟的个人网站</small></a>
			    </div>
			    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
			    	<ul class="nav navbar-nav">
			    		<li><a class="cus-a-style" href="/">首页</a></li>
			    		<li><a class="cus-a-style" href="/blog">BLOG</a></li>
			    		<li><a class="cus-a-style" href="#">PHOTOS</a></li>
			    		<li><a class="cus-a-style" href="#">MUSIC</a></li>
			    	</ul>
			    	<form class="navbar-form navbar-left">
			    		<div class="form-group input-group">
			    			<input type="text" class="form-control" placeholder="Search articles..">  
					        <span class="input-group-btn">
					        	<button type="button" class="btn btn-default"><span class="glyphicon glyphicon-search"></span></button>
					        </span>
			    		</div>
			    	</form>
			    	<div class="login-bar navbar-nav navbar-right">
			    		<% if(user) { %>
			    			<button type="button" class="btn btn-default navbar-btn col-xs-6 cus-login-style"><a href="/post">发表</a></button>
			    			<button type="button" class="btn btn-default navbar-btn col-xs-6"><a href="/logout">登出</a></button>
			    		<% }else { %>
							<button type="button" class="btn btn-default navbar-btn col-xs-6 cus-login-style"><a href="/login">登录</a></button>
			    			<button type="button" class="btn btn-default navbar-btn col-xs-6"><a href="/login">注册</a></button>
			    		<% } %>
			    	</div>
			    </div>
		</div>
	</nav>
	<div class="banner jumbotron">
		<div class="container my-introduce">
			<p class="cssce1a639461a3ba text-center cus-show-p">每天一篇文章，一张图，一首歌</p>
			<h1 class="cssce1a639461a3ba text-center">弱水三千，只取一瓢。</h1>
		</div>
	</div>
	<footer class="footer col-xs-12">
		<p class="text-center">© 2017 ChenWei. All rights reserved.</p>	
	</footer>
	<script type="text/javascript" src="/javascripts/jquery-3.2.1.min.js"></script>
	<script type="text/javascript" src="/javascripts/bootstrap.min.js"></script>
	<script type="text/javascript" src="/javascripts/index.js"></script>
</body>
</html>